<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文档标题</title>
</head>

<body style="width:100%">
    <div style="width: 100%;height: 100%;">
        <button onclick="test()" style="width: 800px;height: 200px ">调用接口</button>
    </div>
</body>
<script type="text/javascript">
    document.querySelector('button').onclick = ()=> {
        WebSDK.test('111111')
    }

    function aaa() {
        alert('aaa')
        document.querySelector('button').style.color = 'red'
    }
</script>
</html>